<?php
mySkyn::assetCSS('/admin/carnes/css/tipos.css');
?>
<div class="contenedor">
<?php foreach ($LISTA as $val):extract($val,EXTR_REFS);
$edit = BASE_URL_FULL . '/admin/carnes.php/formulario:tipos/'.$id_tipo;
$list = BASE_URL_FULL . '/admin/carnes.php/listar:animales/'.$id_tipo;
$delete = BASE_URL_FULL . '/admin/carnes.php/abms:delete_tipos/'.$id_tipo;
?>
	<div class="box">
		<strong><?=$nombre?></strong>
		<a href="<?=$list?>?folder=<?=$folder?>&amp;tipo_id=<?=$id_tipo?>"><img src="<?=BASE_URL_FULL . '/'.$foto?>" alt=""></a>
		<span class="opciones">
			<a href="<?=$edit?>" title="editar" rel="ajax: <?=$edit?>" class="openmodalbox">&nbsp;</a>
			<a href="<?=$delete?>" title="editar" rel="ajax: <?=$delete?>" class="openmodalbox delete">&nbsp;</a>
		</span>
	</div>
<?php endforeach ?>
	<div class="box">
		<strong>AGREGAR</strong>
		<a class="openmodalbox button" >&nbsp;
<input type="hidden" name="ajaxhref" value="<?=BASE_URL_FULL . '/admin/carnes.php/formulario:tipos/'?>" />
		</a>
		<span class="opciones"></span>
	</div>
</div>
